package com.btm;

import java.util.concurrent.atomic.AtomicInteger;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: dawei.hou
 * @Date: 2019/9/27 10:13
 * @Description:
 */
public class test4 {

    public static void main(String[] args) {
        AtomicInteger ai = new AtomicInteger();
        ai.addAndGet(1);
        ai.addAndGet(2);
        ai.addAndGet(3);
        ai.addAndGet(4);
    }

}
